<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>导入收款单</title>
		<meta name="viewport"
			content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/default.css" />
		<script>
			var upload_uri = "{:url('Upload/uploadOne')}",
				upload_bjd = "{:url('goods/implodeJunXml')}",
				clear_cache = "{:url('index/clearCache')}";
		</script>
		<script type="text/javascript" charset="utf-8" src="/static/layui/layui.js"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/index.js"></script>
		<style>
			html,
			body {
				height: 96%;
				overflow-y: auto
			}

			.layui-card-body {
				display: flex;
				cursor: pointer;
			}

			.layui-card-body img {
				width: 45px;
				height: 45px;
				border-radius: 50%;
				margin-right: 10px;
			}

			.layui-card-body div.right-box {
				line-height: 20px;
				transition: all .3s;
				color: #666666;
				width: 70%;
				overflow: hidden;
			}

			.layui-card {
				transition: all .3s;
			}

			.layui-card.on,
			.layui-card.active {
				box-shadow: 0 4px 3px 0 rgba(243, 0, 0, 0.5);
			}

			.layui-card.on div.right-box,
			.layui-card.active div.right-box {
				color: #FF6600;

			}

			.right-add {
				position: absolute;
				right: 5px;
				top: 20px;
			}

			.right-add span {
				transition: all .3s;
				font-size: 30px;
				color: #FFFFFF;
			}

			.layui-card.on .right-add span,
			.layui-card.active .right-add span {
				color: #FF6600;
			}

			.page-left {
				margin: 30px 20px;
				width: 300px;
			}

			.page-left .view-info-box {
				width: 300px;
				height: calc(100% - 80px);
				overflow: auto;
			}

			.search_form {
				padding: 0px;
			}

			.page-right {
				width: calc(100% - 380px);
				margin: 30px 20px
			}

			.layui-elem-field.on {
				background: #F2F2F2;
			}

			.member-shopping-list {
				overflow-x: auto;
				width: 100%;
				height: 80px;
			}

			.layui-elem-quote {
				padding: 10px 15px;
				margin-bottom: 0px;
			}

			.layui-elem-quote.red:first-child {
				border-left-color: #ff6600;
			}

			.pull-right {
				float: right;
			}

			.layui-col-md10 .set-left,
			.layui-col-md10 .set-right {
				background-color: #FBFBFB;
				border: 1px solid #e6e6e6;
			}

			@media screen and (min-width: 1200px) {
				.member-shopping-list .layui-col-lg2 {
					width: 20% !important;
				}
			}

			input[name="invoice_money"] {
				border: 0;
				color: #FF6600;
				font-size: 18px;
			}

			.invoice-box {
				display: none;
			}
		</style>
	</head>

	<body class="default" style=" padding: 20px;">
		<button type="button" class="layui-btn layui-btn-sm up_excel"><i
				class="layui-icon layui-icon-upload"></i>上传收款单</button><span style="padding-left: 20px;">请上传格式.xls的excel文件，如果是.xlsx文件请先转成.xls文件，</span>
		<table style="margin-top:20px; width: 100%;" border="1" cellpadding="4" >
			<thead>
				<th>日期</th>
				<th>汇款单位</th>
				<th>摘要</th>
				<th>金额</th>
				<th>订单号</th>
				<th>状态</th>
			</thead>
			<tbody id="daoru"></tbody>
		</table>
		<button style="margin-top: 20px;" type="button" class="layui-btn layui-btn-normal layui-btn-sm config_excel"
			lay-filter="confirm_excel">确认匹配完成订单</button>
		<button style="margin-top: 20px; margin-left: 60px;" type="button" class="layui-btn layui-btn-warm layui-btn-sm out_excel"
			lay-filter="out_excel">导出不匹配订单</button>
		<script>
			var upload_uri = "{:url('Upload/uploadOne')}",
				excel_uri = "{:url('invoice/excel')}",
				save_state_uri = "{:url('invoice/saveState')}",
				out_export_url = "{:url('invoice/outOrder')}";
		</script>

		<script src="/static/js/invoice/daoru.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
